package month9day2;

class Data{int x;}

public class ParameterTest2 {
 public static void main(String[] args){
	 
	 
	 Data d= new Data();
	 d.x = 10;
	 System.out.println("main() : x = "+d.x);
	 
	 change(d);
	 System.out.println("After change(d)");
	 System.out.println("main() :x="+d.x);
 }
 
 static void change(Data d){
	 d.x = 1000;
	 System.out.println("change() : = "+d.x);
 }
}
